This JavaScript Applet will attempt to guess a man's measurements from his weight and waistline.
(5.0 * (weight / waist)) / 2.125Always be careful to check your formulas carefully and make sure that your parentheses match. Assure your functions have open and close brackets and are commented liberally. Test your formulas out on some known examples and try to make sure in advance that they work.
Note: This example was inspired by the writings of Doug Cooper and Michael Clancy.